home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: sguit@aol.com (SGUIT)
- Newsgroups: comp.lang.c++
- Subject: Re: Dialog Background color help in Visual C++
- Date: 11 Feb 1996 14:20:56 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4flfio$a78@newsbf02.news.aol.com>
- References: <30f32cb0.18382175@news.magic.mb.ca>
- Reply-To: sguit@aol.com (SGUIT)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- Go to your main .cpp file. For example if your program is called
- pmix....go to pmix.cpp and edit this:
-
- BOOL CPmixApp::InitInstance()
- {
- // Standard initialization
- // If you are not using these features and wish to reduce the size
- // of your final executable, you should remove from the following
- // the specific initialization routines you do not need.
-
- SetDialogBkColor(RGB(128,128,128),RGB(255,255,255));// Sets
- background to dark gray w/ white text
-
- To change to blue...change the first one to: (0, 255, 255)
-
- Good luck
-